package com.screen.screendisplay.vo.coal;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 * 安全告警 VO
 * </p>
 *
 * @author xuesong
 * @since 2025-10-02
 */
@Data
@Schema(description = "安全告警VO")
public class CoalSafetyAlertVO {

    @Schema(description = "告警类型：0：边坡告警，1：外运告警，2：库存告警")
    private Integer alarmType;

    @Schema(description = "告警单位编码")
    private String unitCode;

    @Schema(description = "告警单位名称")
    private String unitName;

    @Schema(description = "告警时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date alarmTime;

    @Schema(description = "告警详细信息")
    private String alarmInfo;

    @Schema(description = "确认结果：0：未确认，1：已确认")
    private Integer confirmStatus;
}

